package com.jjwxc.jwjskandriod.model;

import java.util.List;

public class LoginRecordResponse {

    /**
     * code : 200
     * message : 操作成功
     * data : [{"principalId":null,"deviceId":"bbb","deviceName":"iphone","ip":"1.1.1.1","createTime":"2023-08-06T16:48:44.612"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * principalId : null
         * deviceId : bbb
         * deviceName : iphone
         * ip : 1.1.1.1
         * createTime : 2023-08-06T16:48:44.612
         */

        private Object principalId;
        private String deviceId;
        private String deviceName;
        private String ip;
        private String createTime;

        public Object getPrincipalId() {
            return principalId;
        }

        public void setPrincipalId(Object principalId) {
            this.principalId = principalId;
        }

        public String getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(String deviceId) {
            this.deviceId = deviceId;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
